Skip to content

fix(installer): throw an exception only if app store is also enabled#59617

Merged
joshtrichards merged 1 commit intomasterfrom
fix/store-readonly-appfolder
Apr 24, 2026
Merged

fix(installer): throw an exception only if app store is also enabled#59617
joshtrichards merged 1 commit intomasterfrom
fix/store-readonly-appfolder

Conversation

@leftybournes
Copy link
Copy Markdown
Member

@leftybournes leftybournes commented Apr 14, 2026

  • Resolves: #

Summary

When the app folders are readonly while the config contains 'appstoreenabled' => false, the app management admin page throws an exception and fails to load. This ignores any app folder's writeable permission if the app store is disabled.

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

@leftybournes leftybournes added this to the Nextcloud 34 milestone Apr 14, 2026
@leftybournes leftybournes added bug 3. to review Waiting for reviews labels Apr 14, 2026
@leftybournes leftybournes requested a review from a team as a code owner April 14, 2026 06:23
@leftybournes leftybournes requested review from Altahrim, ArtificialOwl, come-nc and icewind1991 and removed request for a team April 14, 2026 06:23
@leftybournes leftybournes force-pushed the fix/store-readonly-appfolder branch 2 times, most recently from 2aa3962 to b50bb80 Compare April 14, 2026 06:56
Signed-off-by: Kent Delante <kent@delante.me>
@leftybournes leftybournes force-pushed the fix/store-readonly-appfolder branch from b50bb80 to 69f5383 Compare April 14, 2026 08:33
@leftybournes leftybournes changed the title fix(settings): get app updates only when appstore is enabled fix(installer): throw an exception only if app store is also enabled Apr 14, 2026
Copy link
Copy Markdown
Contributor

@come-nc come-nc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a bit hacky, 'writable' can simply be set to false in this case.

@joshtrichards
Copy link
Copy Markdown
Member

At least now it matches the exception note about disabling the app store ;)

@joshtrichards joshtrichards merged commit 8b4bd70 into master Apr 24, 2026
214 of 225 checks passed
@joshtrichards joshtrichards deleted the fix/store-readonly-appfolder branch April 24, 2026 00:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants